package com.dimenlink.entity.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * 配置文件
 */
@Configuration
public class AppConfig {
    // 项目根目录
    @Value("${project.folder:}")
    private String projectFolder;

    // 管理员账号
    @Value("${admin.account:}")
    private String adminAccount;

    // 管理员密码
    @Value("${admin.password:}")
    private String adminPassword;

    // 是否显示FFmpeg日志
    @Value("${showFFmegLog:true}")
    private Boolean showFFmegLog;

    public String getProjectFolder() {
        return projectFolder;
    }

    public String getAdminAccount() {
        return adminAccount;
    }

    public String getAdminPassword() {
        return adminPassword;
    }

    public Boolean getShowFFmpegLog() {
        return showFFmegLog;
    }
}
